% 定义libs目录
{lib_dirs, []}.

% 编译子目录
{sub_dirs, []}.

% 要求当前机器的erlang版本为17
{require_otp_vsn, "17"}.

% 如果ebin目录下存在beam文件，允许覆盖
{cover_enabled, true}.

% 是否递归执行
{recursive_cmds, [clean]}.

{erl_first_files, []}.

% 编译参数
{erl_opts, [
    {parse_transform, lager_transform},  % lager指定编译参数
    debug_info,
%%     {d, 'TEST'},
    warnings_as_errors    % 编译时检查是否有warning，如果有将编译报错
]}.

{clean_files, []}.

{deps, [
	{lager, ".*", {git, "https://github.com/basho/lager.git", {branch, "master"}}},
	{pmod_transform, ".*", {git, "https://github.com/erlang/pmod_transform.git", {branch, "master"}}},
	{recon, ".*", {git, "https://github.com/ferd/recon.git", {branch, "master"}}},
    {poolboy, ".*", {git, "http://gitlab.jedi.com/server/poolboy.git", {branch, "master"}}},
	{protobuffs, ".*", {git, "http://gitlab.jedi.com/server/erlang_protobuffs.git", {branch, "master"}}},
    {folsom, ".*", {git, "http://gitlab.jedi.com/server/folsom.git", {branch, "master"}}},
    {cowboy, ".*", {git, "https://github.com/ninenines/cowboy.git", {branch, "master"}}},
    {jsx, ".*", {git, "https://github.com/talentdeficit/jsx.git", {branch, "master"}}}
]}.
